#include "card.h"
#include <iostream>

using namespace std;

/**
 * print card
 * for debug
 */
void Card::print_card()
{
	cout << "name:" << name << endl;
	cout << "cost:" << cost << endl;
	cout << "color:" << (color == MAGIC_RED ? "RED" : (color == MAGIC_GREEN ? "GREEN" : "BLUE") ) << endl;
	cout << "describe:" << describe << endl;
	cout << "ability:" << ability << endl;
    cout << "image:" << imagefile << endl;
}

